package com.saku.uiprojecttest.modules;/**
 * Created by liumin on 2017/2/27.
 */


import com.google.gson.Gson;

import dagger.Module;
import dagger.Provides;

/**
 * User: Missa
 * Date: 2017-02-27
 * Time: 22:45
 * Description:
 */
@Module
public class AppModule {
    private Gson mGson;

    @Provides
    public Gson provideGson(){
        if (mGson == null) {
            mGson = new Gson();
        }
        return mGson;
    }

}
